package dao;

import pojo.Department;

import java.util.List;

/**
 * @author 郝雷蒙
 * @Description
 * @date 2020/12/8 16:52
 */
public interface DepartmentDao {
    public List<Department> selectAllDepartments(Integer start, Integer length);
    public  Integer selectDepartmentCount();

    public Department selectDepartmentByid(Integer id);

    public Integer insertOneDepartment(Department department);
    public Integer updateOneDepartment(Department department);
    public Integer deleteDepartmentByid(Integer id);
}
